home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / lcase.doc < prev    next >
Text File  |  1995-03-31  |  1KB  |  26 lines

  1. shdemers@undergrad.math.waterloo.edu [Sylvain Demers] writes: 
  2.  
  3. > Is it possible to get the HP to enter alpha-LOWERCASE-mode from the 
  4. > INPUT statement automatically? This would be very convenient for a 
  5. > particular application I'm working on.  Any help (syseval's et. al.) 
  6. > would be kindly accepted. 
  7.  
  8. eckstein@bean.ISD.Luftfahrt.Uni-Stuttgart.DE (Knut Eckstein) asked the 
  9. same question, and received no answer. 
  10.  
  11. Here 'tis:  #539A0h SYSEVAL (for ROM versions A through E).  This 
  12. toggles the lower-case flag.  Note well: the lower-case flag is reset 
  13. automatically every time the command line is executed, regardless of 
  14. whether alpha mode was on or not.  So to use this SYSEVAL effectively, 
  15. it must immediately preceed the INPUT, as in the following example: 
  16.  
  17. %%HP: T(3)A(D)F(.); 
  18. \<< # 539A0h SYSEVAL "lowercase:" { \Ga } INPUT 
  19.                      "UPPERCASE:" { \Ga } INPUT 
  20. \>> 
  21.  
  22. Try it; the keys pressed the first time will automatically be in 
  23. lowercase, but the second time in uppercase like usual. 
  24.  
  25. -Joe Horn- 
  26.